<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: SDK/all/include/JCMediaDeviceVideoCanvas.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ca6309d378ceffb9970caf11a0592736.html">SDK</a></li><li class="navelem"><a class="el" href="dir_df301a42bdb8674e37034074c8aa490e.html">all</a></li><li class="navelem"><a class="el" href="dir_2a90b483303ce0af7319f0f0fd0c54ed.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">JCMediaDeviceVideoCanvas.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &quot;JCMediaDevieConstants.h&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html">   11</a></span>&#160;<span class="keyword">class </span>JCSDK_API <a class="code" href="class_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> {</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a6ff74eecbfb9cf2d6757ebfc92466c50">   18</a></span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_j_c_media_device_video_canvas.html#a6ff74eecbfb9cf2d6757ebfc92466c50">getVideoSource</a>() = 0;</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a11178d7bf731829959b8ed9e83dab858">   24</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code" href="class_j_c_media_device_video_canvas.html#a11178d7bf731829959b8ed9e83dab858">getVideoView</a>() = 0;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a0f93d017306b5920f3fdccc00e2074f8">   34</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_j_c_media_device_video_canvas.html#a0f93d017306b5920f3fdccc00e2074f8">replace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* videoSource) = 0;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a799b848e69d56d866ec6ff716882a455">   40</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_media_device_video_canvas.html#a799b848e69d56d866ec6ff716882a455">pause</a>() = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#ac49c80c2eda55f0225f12c3572b938da">   46</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_media_device_video_canvas.html#ac49c80c2eda55f0225f12c3572b938da">resume</a>() = 0;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a44d1073788a9cd3c6620c839eea76ffa">   52</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_media_device_video_canvas.html#a44d1073788a9cd3c6620c839eea76ffa">rotate</a>(<a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga1f14e425a8b2abadf1bf7e2e59baa158">JCMediaDeviceVideoCanvasRoatate</a> angle) = 0;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a19d26f2bc9585df4874377bdfdca4d71">   63</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_j_c_media_device_video_canvas.html#a19d26f2bc9585df4874377bdfdca4d71">snapshot</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">char</span>* filePath) = 0;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_j_c_media_device_video_canvas.html#a716edca8bb011cb937cd5f8af50a646a">   69</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_media_device_video_canvas.html#a716edca8bb011cb937cd5f8af50a646a">switchCamera</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* camera) = 0;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;};</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a6ff74eecbfb9cf2d6757ebfc92466c50"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a6ff74eecbfb9cf2d6757ebfc92466c50">JCMediaDeviceVideoCanvas::getVideoSource</a></div><div class="ttdeci">virtual const char * getVideoSource()=0</div></div>
<div class="ttc" id="agroup___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97_html_ga1f14e425a8b2abadf1bf7e2e59baa158"><div class="ttname"><a href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga1f14e425a8b2abadf1bf7e2e59baa158">JCMediaDeviceVideoCanvasRoatate</a></div><div class="ttdeci">JCMediaDeviceVideoCanvasRoatate</div><div class="ttdef"><b>Definition:</b> JCMediaDevieConstants.h:98</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a></div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:11</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_ac49c80c2eda55f0225f12c3572b938da"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#ac49c80c2eda55f0225f12c3572b938da">JCMediaDeviceVideoCanvas::resume</a></div><div class="ttdeci">virtual void resume()=0</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a44d1073788a9cd3c6620c839eea76ffa"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a44d1073788a9cd3c6620c839eea76ffa">JCMediaDeviceVideoCanvas::rotate</a></div><div class="ttdeci">virtual void rotate(JCMediaDeviceVideoCanvasRoatate angle)=0</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a716edca8bb011cb937cd5f8af50a646a"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a716edca8bb011cb937cd5f8af50a646a">JCMediaDeviceVideoCanvas::switchCamera</a></div><div class="ttdeci">virtual void switchCamera(const char *camera)=0</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a11178d7bf731829959b8ed9e83dab858"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a11178d7bf731829959b8ed9e83dab858">JCMediaDeviceVideoCanvas::getVideoView</a></div><div class="ttdeci">virtual void * getVideoView()=0</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a799b848e69d56d866ec6ff716882a455"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a799b848e69d56d866ec6ff716882a455">JCMediaDeviceVideoCanvas::pause</a></div><div class="ttdeci">virtual void pause()=0</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a19d26f2bc9585df4874377bdfdca4d71"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a19d26f2bc9585df4874377bdfdca4d71">JCMediaDeviceVideoCanvas::snapshot</a></div><div class="ttdeci">virtual bool snapshot(int width, int height, char *filePath)=0</div></div>
<div class="ttc" id="aclass_j_c_media_device_video_canvas_html_a0f93d017306b5920f3fdccc00e2074f8"><div class="ttname"><a href="class_j_c_media_device_video_canvas.html#a0f93d017306b5920f3fdccc00e2074f8">JCMediaDeviceVideoCanvas::replace</a></div><div class="ttdeci">virtual bool replace(const char *videoSource)=0</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
